#define _CRT_SECURE_NO_WARNINGS 1
#include<iostream>
class abc
{
public:
	abc()
	{
		capacity = 10;
		size = 0;
		address = (int*)malloc(capacity * sizeof(int));
	}
	int add(int a, int b)
	{
		return a + b;
	}
	void print_add()
	{
		std::cout << capacity << " " << size << " " << address << std::endl;
	}

//private:
	int capacity;
	int size ;
	int* address;
};
class test
{
public:
	test()
	{
		a.capacity = 999;
		a.size = 100;
		a.address = nullptr;
		d = 10086;
	}
	void print_add()
	{
		std::cout << a.capacity << " " << a.size << " " << a.address << std::endl;
		std::cout << b.capacity << " " << b.size << " " << b.address << std::endl;
		std::cout << c.capacity << " " << c.size << " " << c.address << std::endl;
		std::cout << d << std::endl;
	}

private:
	abc a;
	abc b;
	abc c;
	int d;
};
int add()
{

}
int main()
{
	abc a1;
	/*a1.print_add();
	test t1;
	t1.print_add();*/
	//std::cout<<a1.capacity<<std::endl;
}